﻿namespace Renci.Data.Interop.OpenGIS.Gml_32
{
    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("xsd", "2.0.50727.3038")]
    [System.SerializableAttribute()]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Xml.Serialization.XmlTypeAttribute(TypeName = "TopoComplexType", Namespace = "http://www.opengis.net/gml/3.2")]
    [System.Xml.Serialization.XmlRootAttribute("TopoComplex", Namespace = "http://www.opengis.net/gml/3.2", IsNullable = false)]
    public class TopoComplexType : AbstractTopologyType, IAggregationAttributeGroup
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="TopoComplexType"/> class.
        /// </summary>
        public TopoComplexType()
        {
            this.IsMaximal = false;
        }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("maximalComplex")]
        public TopoComplexPropertyType MaximalComplex { get; set; }

        private System.Collections.ObjectModel.Collection<TopoComplexPropertyType> _superComplexes = new System.Collections.ObjectModel.Collection<TopoComplexPropertyType>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("superComplex")]
        public System.Collections.ObjectModel.Collection<TopoComplexPropertyType> SuperComplexes { get { return this._superComplexes; } }

        private System.Collections.ObjectModel.Collection<TopoComplexPropertyType> _subComplexes = new System.Collections.ObjectModel.Collection<TopoComplexPropertyType>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("subComplex")]
        public System.Collections.ObjectModel.Collection<TopoComplexPropertyType> SubComplexes { get { return this._subComplexes; } }

        private System.Collections.ObjectModel.Collection<TopoPrimitiveMemberType> _topoPrimitiveMember = new System.Collections.ObjectModel.Collection<TopoPrimitiveMemberType>();
        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("topoPrimitiveMember")]
        public System.Collections.ObjectModel.Collection<TopoPrimitiveMemberType> TopoPrimitiveMember { get { return this._topoPrimitiveMember; } }

        /// <remarks/>
        [System.Xml.Serialization.XmlElementAttribute("topoPrimitiveMembers")]
        public TopoPrimitiveArrayAssociationType TopoPrimitiveMembers { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("isMaximal")]
        [System.ComponentModel.DefaultValueAttribute(false)]
        public bool IsMaximal { get; set; }

        #region IAggregationAttributeGroup Members

        /// <remarks/>
        [System.Xml.Serialization.XmlAttributeAttribute("aggregationType", Namespace = "http://www.opengis.net/gml/3.2")]
        public AggregationType AggregationType { get; set; }

        /// <remarks/>
        [System.Xml.Serialization.XmlIgnoreAttribute()]
        public bool AggregationTypeSpecified { get; set; }

        #endregion
    }
}
